package lambda.test1;

public class ConverterTest {
    public static void main(String[] args) {
        Converter<String, Integer> converter = (String pp) -> Integer.valueOf(pp);

        int i = converter.convert("1");
        System.out.println(i);
    }

    private interface Converter<T, V> {
        public V convert(T t);
    }
}
